using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
using System.Text;
using Musicman.Utilities;

namespace Musicman.WindowsService
{
    public partial class MusicmanService : ServiceBase
    {
        public MusicmanService()
        {
            InitializeComponent();
        }

        protected override void OnStart(string[] args)
        {
            UpdateManager.Instance.StartCron();
        }

        protected override void OnStop()
        {
            UpdateManager.Instance.StopCron();
        }
    }
}
